Page({
  onLoad(){
    this.getNotices()
  },
  async getNotices(){
    const res=await wx.http.get('/announcement')
    // console.log(res)
    this.setData({
      notices:res
    })
  }
})
